<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>设备管理</title>
</head>
<body>
	<div th:fragment="main" id="addDevice">
	<link rel="stylesheet" th:href="@{/css/projectGroup/addDevice.css}">
		<div class="content-title">
	        <p><a href="#qualitycontrol-projectGroup-device">设备管理</a>&nbsp;>&nbsp;<span>添加设备</span></p>
	    </div>
		<div class="content-bar">
			<form id="form-box" class="form-horizontal clearfix col-xs-offset-1" autocomplete="off">
				<div class="form-group">
					<label class="form-label" for="productLineId">产品线名称&nbsp;:</label>
					<select id="productLineId" class="form-input" name="productLineId"></select>
					<label class="form-label" for="projectId">项目名称&nbsp;:</label>
					<select id="projectId" class="form-input" name="projectId"><option>请先选择产品线</option></select>
				</div>
				<div class="form-group">
					<label class="form-label" for="deviceTypeId">设备类型&nbsp;:</label>
					<select id="deviceTypeId" class="form-input" name="deviceTypeId"></select>
					<label class="form-label" for="id">设备编号&nbsp;:</label>
					<input type="text" id="id" name="id" class="form-input" placeholder>
				</div>
				<div class="form-group">
					<label class="form-label" for="name">设备名称&nbsp;:</label>
					<input type="text" id="name" name="name" class="form-input" placeholder>
					<label class="form-label" for="addrs">设备地址&nbsp;:</label>
					<input type="text" id="addrs" name="addrs" class="form-input" placeholder>
				</div>
				<div class="form-group">
					<label class="form-label" for="version">设备型号&nbsp;:</label>
					<input type="text" id="version" name="version" class="form-input" placeholder>
					<label class="form-label" for="vendor">设备厂家&nbsp;:</label>
					<input type="text" id="vendor" name="vendor" class="form-input" placeholder>
				</div>
				<div class="form-group">
					<label class="form-label" for="longitude">经度&nbsp;:</label>
					<input type="text" id="longitude" name="longitude" class="form-input" placeholder="-180~180,最大保留小数点后7位"">
					<label class="form-label" for="latitude">纬度&nbsp;:</label>
					<input type="text" id="latitude" name="latitude" class="form-input" placeholder="-90~90,最大保留小数点后7位">
				</div>
				<!-- <div class="form-group">
					<label class="form-label" for="source">状态&nbsp;:</label>
					<input type="text" id="source" name="source" class="form-input" placeholder>
				</div> -->
				<div class="form-group">
					<label class="form-label" for="note">备注信息&nbsp;:</label>
					<textarea class="form-input" id="note" name="note" cols="" rows="4"></textarea>
				</div>
				<div class="form-group">
			        <div class="footer">
			            <a id="save" class="btn btn-cyan btn-bg" role="button">保存</a>
			            <a class="btn btn-cyan btn-bg" href="#qualitycontrol-projectGroup-device" role="button">返回</a>
			        </div>
			    </div>
			</form>
		</div>
		<script th:src="@{/js/projectGroup/addDevice.js}"></script>
	</div>
</body>
</html>